package com.ruoyi.quartz.mapper;

import java.util.List;
import com.ruoyi.quartz.domain.StockDailySina;

/**
 * 日交易Mapper接口
 * 
 * @author czz
 * @date 2024-04-23
 */
public interface StockDailySinaMapper 
{
    /**
     * 查询日交易
     * 
     * @param id 日交易主键
     * @return 日交易
     */
    public StockDailySina selectStockDailySinaById(Long id);

    /**
     * 查询日交易列表
     * 
     * @param stockDailySina 日交易
     * @return 日交易集合
     */
    public List<StockDailySina> selectStockDailySinaList(StockDailySina stockDailySina);

    /**
     * 新增日交易
     * 
     * @param stockDailySina 日交易
     * @return 结果
     */
    public int insertStockDailySina(StockDailySina stockDailySina);

    /**
     * 修改日交易
     * 
     * @param stockDailySina 日交易
     * @return 结果
     */
    public int updateStockDailySina(StockDailySina stockDailySina);

    /**
     * 删除日交易
     * 
     * @param id 日交易主键
     * @return 结果
     */
    public int deleteStockDailySinaById(Long id);

    /**
     * 批量删除日交易
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStockDailySinaByIds(Long[] ids);

    /**
     * 批量插入股票日交易行情
     * @param stockDailySinaList
     * @return
     */
    public int batchInsertStockDailySina(List<StockDailySina> stockDailySinaList);
}
